<%@ page import="ro.gateway.aida.usr.*,
                 ro.gateway.aida.db.PersistenceToken,
                 ro.gateway.aida.utils.Utils,
                 ro.gateway.aida.db.PersistenceManager,
                 ro.xblue.translator.ShowEditButtonAction"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>

<LINK rel="stylesheet" type="text/css" href="<html:rewrite page='/alf.css'/>">
<script type="text/javascript" src="<html:rewrite page='/javascript/textCounter.js'/>"></script>

<trans:initPage module="harvester" />

<html:form action="/translator/exchange">
<html:hidden property="id"/>
<table border="0" cellpadding="5" cellspacing="1" background=<html:rewrite page="/images/pixelbgtable.gif"/> class="text">
	<tr>
	<td class=textalb colspan=2 align=center><trans:showPageMessage label="harvesteredit" />
	</td></tr>
	<tr bgcolor="#FFFFFF">
	<td align=right class=text_searchbold>
			<trans:showPageMessage label="name" />:
	</td>
		<td>
		<html:text size="60" property="name" styleClass="text" 
		onkeydown="textCounter(this.form.name,this.form.c_name,255);" 
		onkeyup="textCounter(this.form.name,this.form.c_name,255);"/>
    	 <input readonly type="text" name="c_name" size="3" maxlength="4" value=""> <trans:showPageMessage label="charactersleft" />				
		</td>

	</tr>

	<tr bgcolor="#FFFFFF">
	<td align=right class=text_searchbold>
			<trans:showPageMessage label="baseURL" />:
	</td>
		<td>
		<html:text size="60" property="baseURL" styleClass="text" 
		onkeydown="textCounter(this.form.baseURL,this.form.c_baseURL,512);" 
		onkeyup="textCounter(this.form.baseURL,this.form.c_baseURL,512);"/>
    	 <input readonly type="text" name="c_baseURL" size="3" maxlength="4" value=""> <trans:showPageMessage label="charactersleft" />				
		</td>

	</tr>


	<tr bgcolor="#FFFFFF">
	<td align="right" class="text_searchbold">
			<trans:showPageMessage label="lang" />:
	</td>
		<td>
		<html:select property="lang">
		<html:options collection="langs" property="abbrev" labelProperty="name"/>
		</html:select>
		</td>
	</tr>

	<tr bgcolor="#FFFFFF" >
	<td colspan="3" align="center" class="text_searchbold">

			<html:submit styleClass="buton" property="save">
			<trans:showPageMessage label="save" hide_link="true" />
			</html:submit>
	<trans:showPageMessage label="translator.showhiddentags"/>			
		</td>
	</tr>

</table>


</html:form>
